import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    title:'嘿嘿嘿',
    list:[
      {text:'商品列表',id:'1',url:''},
      {text:'订单列表',id:'2',url:''},
      {text:'财务列表',id:'3',url:''},
      {text:'用户列表',id:'4',url:''},
    ]
  },
  getters:{
    getList(state){
      return state.list
    }
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})
